package com.seamtop.cuber.web.echarts.builder;

import com.seamtop.cuber.common.entriy.EchartData;

/**
 * Created by zongjunfeng on 2015/11/6.
 */
public class ChartContext {

    private IChartAdapter chartAdapter;

    public ChartContext(IChartAdapter chartAdapter){
        this.chartAdapter = chartAdapter;
    }

    public String buildChart(EchartData echartData){
        return chartAdapter.buildChart(echartData);
    }

}
